<% flash.each do |k, v| %>
	<% content_tag(:div, :id=>"message_#{k}", :class=>"message #{k}") do %>
		<%= link_to_function(image_tag("manage/ico_del.gif", :alt=>t('label.close')), "$(this).up('div').hide()", :class=>"close") %>
    <%= v %>
  <% end %>
  <script type='text/javascript'>window.setTimeout("fade_flash()", 5000);</script>
<% end %>
